home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 526-550 / disk_545 / drawmap / installlibs < prev    next >
Text File  |  1992-05-06  |  1KB  |  42 lines

  1. .K ""
  2. echo "This script will install ilbm.library and req.library, after checking"
  3. echo "to see if you already have them.  If so, it will check the version"
  4. echo "numbers of the installed one, and the one in this distribution, and"
  5. echo "give you the option of installing the one found here."
  6. echo ""
  7.  
  8. if not EXISTS libs:req.library
  9.     echo "No existing library, installing libs:req.library..."
  10.     copy libs/req.library libs:req.library
  11. else
  12.     echo "Examine the version numbers of each library."
  13.     echo ""
  14.     version libs:req.library
  15.     version libs/req.library
  16.     echo ""
  17.     ask "Do you wish to overwrite libs:req.library?"
  18.     if WARN
  19.         echo "Updating libs:req.library..."
  20.         copy libs/req.library libs:req.library
  21.     endif
  22. endif
  23.  
  24. if not EXISTS libs:ilbm.library
  25.     echo "No existing library, installing libs:ilbm.library..."
  26.     copy libs/ilbm.library libs:ilbm.library
  27. else
  28.     echo "Examine the version numbers of each library."
  29.     echo ""
  30.     version libs:ilbm.library
  31.     version libs/ilbm.library
  32.     echo ""
  33.     ask "Do you wish to overwrite libs:ilbm.library?"
  34.     if WARN
  35.         echo "Updating libs:ilbm.library..."
  36.         copy libs/ilbm.library libs:ilbm.library
  37.     endif
  38. endif
  39.  
  40. echo "All Done.  Click close gadget to get rid of window."
  41. endcli
  42.